package com.atguigu04.override;

/**
 * ClassName: OverrideTest
 * Package: com.atguigu04.override
 * Description:
 *
 * @Author ZY
 * @Create 21:24
 * @Version 1.0
 */
public class OverrideTest {
    public static void main(String[] args) {

        Student s1 = new Student();
        s1.name = "Tom";

        s1.eat();
        s1.sleep();

    }
}
